package com.zqxq.lottery.mapper.sys;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.zqxq.lottery.entity.po.sys.SysConfigPO;
import com.zqxq.lottery.entity.vo.sys.SysConfigVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;


@Component(value = "sysConfigMapper")
public interface SysConfigMapper extends BaseMapper<SysConfigPO> {

    SysConfigPO getByKey(@Param("ckey") String ckey);

    List<SysConfigVO> getSysConfigList(Page page, Map<String,Object> map);

}
